//
//  BTConsultCell.m
//  BaxTer
//
//  Created by wsj2015 on 2016/11/17.
//  Copyright © 2016年 陈武琦. All rights reserved.
//

#import "BTConsultCell.h"
#import "UIImageView+BTimageView.h"
#import "NSString+Utilities.h"
@implementation BTConsultCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    
    CGFloat f =  kScreenFactor;
    self.imageHeight.constant = f * 150;
    
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    
}

- (void)setModel:(BTCosultModel *)model{

    
    _model = model;
    
    [self.iconImageView bt_setImageWithUrl:model.smallUrlImg];
    
    self.hTitle.text = model.subjectName;
    self.desLabel.htmlText = model.remark;
    self.dateLabel.text = [NSString stringWithFormat:@"发布日期:%@",[NSString timeToString:[model.createDate longLongValue]]];
    
    
    
    
}


@end
